<div id="fb-root"></div>
<script type="text/javascript">
	{topMenuStructure}
	{boxJavascriptRepresentation}

// facebook
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

// google+
window.___gcfg = {lang: 'hu'};

(function() {
  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  po.src = 'https://apis.google.com/js/plusone.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<div id="holder">
	<div id="header">
		<a href="{frontPageUrl}" class="backlink">&#160;</a>
	</div>
	<div class="quicklink_holder">
		<div class="quicklink">
			<center>
				<table>
					<tr>
						<td class='quicklink_cim'>{comp_calendar}</td>
						<!-- BEGIN tournament -->
						<td class='quicklink'>
							<a class="{tournament_class}" href="{tournamentMonthLink}">{tournament_month}</a>
						</td>
						<td class='quicklink_divider'>{divider}</td>
						<!-- END tournament -->
					</tr>
				</table>
			</center>
		</div>
	</div>
	<div id="active">
		<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
			<tr>
				<td class="languagePicker">
					<table class="languagePicker">
						<tr>
							<!-- BEGIN languages -->
							<td>
								<a href="{link_language}">
									<img width="32px" src="site/images/flags/{langcode}.gif" alt="{lang_alt}" />
								</a>
								&#160;&#160;
							</td>
							<!-- END languages -->
						</tr>
					</table>
				</td>
				<td>
					<table id="topMenuTableId">
						<tr>
							<td class="topMenuCell">
								{mainMenuHtml}
							</td>
						</tr>
					</table>
				</td>
				<td style="width: 8px; height: 48px; background-image: url(site/images/main_rightcorner.jpg)">
				</td>

				<td rowspan="2" style="width: 19px;"></td>
				<td rowspan="2" style="width: 211px;" valign="top">
					<div id="box_likes" class="side_box rightBox"><div class="tabs_boxNormal"><div class="contentContainer_boxNormal">
						<div class="g-plusone" data-size="small" data-annotation="inline" data-width="24"></div>
						<div class="fb-like" data-href="http://kibicbridge.com" data-send="false" data-layout="button_count" data-width="24" data-show-faces="false" data-font="verdana"></div>
					</div></div></div>
					{boxes_2}
				</td>
			</tr>
			<tr>
				<td colspan="3" style="background-color: #fefef4;" valign="top">
					<table style="width: 100%;">
						<tr>
							<td style="width: 210px;" valign="top">
								{boxes_1}
							</td>
							<td valign="top">
								<div class="active_main">
									<div id="errors" class="messageContainer {errorsClass}">
										<!-- BEGIN error_messages -->
										<p>{Errors}</p>
										<!-- END error_messages -->
									</div>
									
									<div id="warnings" class="messageContainer {warningsClass}">
										<!-- BEGIN warning_messages -->
										<p>{Warnings}</p>
										<!-- END warning_messages -->
									</div>
									
									<div id="success" class="messageContainer {successClass}">
										<!-- BEGIN success_messages -->
										<p>{Successes}</p>
										<!-- END success_messages -->
									</div>

									<!-- aktiv-->
									{urlDrivenContent}
								</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
</div>
<script type="text/javascript">
	var topMenuMaxSubmenuWidth = parseInt('{topMenuMaxSubmenuWidth}');
	var topMenuWidth = $(topMenuTableId).getWidth();
</script>